package edu.com.wjt219971332.service;

import edu.com.wjt219971332.entity.Audiencevote;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;


public interface AudiencevoteService {


    Audiencevote queryById(Integer uservoteid);


    Page<Audiencevote> queryByPage(Audiencevote audiencevote, PageRequest pageRequest);


    int insert(Audiencevote audiencevote);


    int update(Audiencevote audiencevote);


    boolean deleteById(Integer uservoteid);

    Audiencevote weiyi(Integer userid, Integer competitionid);

    int countvote(Integer competitionid, Integer singerid);

    boolean deleteByuserid(Integer userid, Integer competitionid);
}
